home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / read_file < prev    next >
Text File  |  2001-04-06  |  492b  |  15 lines

  1. SYNOPSIS
  2.         string read_file(string file, int start, int number)
  3.  
  4. DESCRIPTION
  5.         Reads lines from file.
  6.         If <start> is not given or 0, the file is read from the
  7.         beginning, else from the numbered line on.
  8.         If <number> is not given or 0, the whole file is read, else
  9.         just the given amount of lines.
  10.         If <start> would be outside the actual size of the file, 0 is
  11.         returned instead of a string.
  12.  
  13. SEE ALSO
  14.         read_bytes(E), write_file(E)
  15.